package com.qf.homework.day38.pojo;

import java.io.Serializable;

public class User  {
    private Integer id;
    private String username;
    private String password;
    private String address;
    private String hobbies;
    private Integer class_id=1;
    public User() {
    }

    public User(String username, String password, String address, String hobbies) {
        this.username = username;
        this.password = password;
        this.address = address;
        this.hobbies = hobbies;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getHobbies() {
        return hobbies;
    }

    public void setHobbies(String hobbies) {
        this.hobbies = hobbies;
    }
}
